package com.hotelManagerSystem.service;

import com.hotelManagerSystem.model.RoomOrder;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author treasy
 * @since 2021-12-22
 */
public interface IRoomOrderService extends IService<RoomOrder> {

    List<RoomOrder> queryRoomOrderByOrderNum(String orderNum_s);
    List<RoomOrder> queryInfoByState(Integer orderState);

    List<RoomOrder> queryInfoByUsername(Integer uid);

    List<RoomOrder> queryInfoByUsernameAndState(Integer uid, Integer orderState);

    int updateStateById(Integer roomId);
}
